package com.devilvan.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.devilvan.entity.Dept;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 关注公众号：MarkerHub
 * @since 2020-11-10
 */
@Mapper
@Repository
public interface DeptMapper8003 extends BaseMapper<Dept> {
    boolean addDept(Dept dept);

    Dept queryDeptById(Long dept_id);

    List<Dept> queryAllDepts();
}
